package com.wonder.app.stock;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="实时数据", description="实时数据")
public class Split implements Serializable {
private static final long serialVersionUID = 1603723772195L;
    
	@ApiModelProperty(name = "Symbol" , value = "股票代码")
	private String Symbol;
    
	@ApiModelProperty(name = "Profit" , value = "分红")
	private Double Profit;
	
	@ApiModelProperty(name = "StockPrice" , value = "配股价")
	private Double StockPrice;
      	 
	@ApiModelProperty(name = "R_Shares" , value = "配股")
	private Double R_Shares;
    
	@ApiModelProperty(name = "D_Stock" , value = "送股")
	private Double D_Stock;    

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "Date" , value = "时间")
	private Date Date;

}
